package com.athengzhi.springCloud.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package: com.athengzhi.springCloud.controller
 * @ClassName: ConfigClientController
 * @Author: lhz
 * @CreateTime: 2023/5/25 9:37
 * @Description:
 */
@RestController
@Slf4j
public class ConfigClientController {
    @Value("${config.info}")
    private String configInfo;

    @GetMapping("/configInfo")
    public String getConfig(){
        return configInfo;
    }
}
